package com.taxicalculator.dao;
/**
 * 
 * @author Thomas Maco
 *
 */
public interface ILocationSQLite {
	/**
	 * fetches location string text from database to displayed by type
	 * @param int type of location to be fetched from database
	 */
	public String getLocation(int type);
	/**
	 * Saves Location STring to database with a type done as integer 
	 * 0 = from location and 1 = to location
	 * @param String location text being saved
	 * @param int type type of location
	 */
	public void saveLocation(String location, int type, double latitude, double londitude);
	/**
	 * this method will delete the record stored in database 
	 * @param int type to be deleted
	 */
	public void deleteLoction(int type);

}
